import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {LocateMapAlainComponent} from './locate-map-alain.component';
import {BaseMapModule} from '../base-map/base-map.module';
import {LocateMapModule} from '../locate-map/locate-map.module';
import {DelonFormModule, WidgetRegistry} from '@delon/form';
import {FormsModule} from '@angular/forms';


@NgModule({
    declarations: [LocateMapAlainComponent],
    imports: [
        CommonModule,
        BaseMapModule,
        LocateMapModule,
        DelonFormModule,
        FormsModule
    ],
    exports: [LocateMapAlainComponent],
    entryComponents: [LocateMapAlainComponent]
})
export class LocateMapAlainModule {
    constructor(widgetRegistry: WidgetRegistry) {
        widgetRegistry.register(LocateMapAlainComponent.KEY, LocateMapAlainComponent);
    }
}
